<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<sfa:mainTitle></sfa:mainTitle>
<%@ include file="/common/meta.jsp"%>
<script type="text/javascript">
function opendialog(obj1, obj2) {
	var dialog11 = art.dialog( {
		id : obj2,
		title : '保单详细信息'
	});
	$.ajax( {
		url : '${path}/business/base/index/policydetail?cid=' + obj1,
		success : function(data1) {
			dialog11.content(data1);
		},
		cache : false
	});
}
$(function() {
	fixTable.FixTable("mytable");
	$("#fullScreen").click(function() {
		fullScreen.FullScreen("mylist");
	});
})
</script>

	
</head>

<body id="master">

	<sfa:mainHeader></sfa:mainHeader>
	<!--右边-->
            <div class="webpart3 contentarea" style="width:986px;">
            <div class="webpart-main">
                <div class="webpart-main-item dlist" style="padding-top: 12px; height: 310px;">
			<!--待办事项-->
				<div class="div-daiban"  style="width:100%;">
					<ul style="width:580px;">
						<li>
							<a href="${path}/news/index/getSpBusiness?type=a1">本月已承保件数(<em
								>${THISMONTHUNDERWRITEEDS}</em>)</a>
						</li>
						<li>
							<a href="${path}/news/index/getSpBusiness?type=b1">本月已照会件数(<em
								>${THISMONTHNOTEEDS}</em>)</a>
						</li>
						<li>
							<a href="${path}/news/index/getSpBusiness?type=c1">本月已回执件数(<em
								>${THISMONTHRECEIPTEDS}</em>)</a>
						</li>
						<li>
							<a href="${path}/news/index/getSpBusiness?type=d1">本月退保撤单件数(<em
								>${THISMONTHSURRENDEREDS}</em>)</a>
						</li>
						<li>
							<a href="${path}/news/index/getSpBusiness?type=a2">本月未承保件数(<em
								>${THISMONTHNOUNDERWRITEEDS}</em>)</a>
						</li>
						<li>
							<a href="${path}/news/index/getSpBusiness?type=b2">本月未照会件数(<em
								>${THISMONTHNONOTEEDS}</em>)</a>
						</li>
						<li>
							<a href="${path}/news/index/getSpBusiness?type=c2">本月未回执件数(<em
								>${THISMONTHNORECEIPTEDS}</em>)</a>
						</li>
						<li>
							<a href="${path}/news/index/getSpBusiness?type=d2">本月新受理件数(<em
								>${THISMONTHHEAREDS}</em>)</a>
						</li>
					</ul>
					<div class="tools-btn" style=" float: right;margin-right: 10px; margin-bottom: 5px;" >
					<a href="javascript:history.back();"><span>
						<img src="${path}/statics/images/Redo.gif" />返回</span></a>&nbsp;&nbsp;&nbsp;&nbsp;
					<a href="####" id="fullScreen"><span> <img
						src="${path}/statics/images/qp.gif"/>全屏</span> </a>
				</div>
				</div>
				<div id="mylist" style="margin-right: 4px; margin-bottom: 0px; height: 315px;">
				<table id="mytable" cellpadding="0" cellspacing="0" class="dg_borderstyle trStyleTable"
					style="margin-top: 0px; text-align: center;">
					<tr>
									<th name="fixcol" style="min-width: 80px;">
										<span>投保单号&nbsp;&nbsp;&nbsp;</span>
									</th>
									<th style="min-width: 100px;">
										<span>保单号码&nbsp;&nbsp;&nbsp;</span>
									</th>
									<th>
										<span>保单状态&nbsp;&nbsp;&nbsp;</span>
									</th>
									<th style="min-width: 100px;">
										<span>所属省机构&nbsp;&nbsp;&nbsp;</span>
									</th>
									<th style="min-width: 80px;">
										<span>受理人&nbsp;&nbsp;&nbsp;</span>
									</th>
									<th style="min-width: 100px;">
										<span>
											<c:if test="${type=='a1' || type=='a2'}">承保日期&nbsp;&nbsp;&nbsp;</c:if>
											<c:if test="${type=='b1' || type=='b2'}">照会日期&nbsp;&nbsp;&nbsp;</c:if>
											<c:if test="${type=='c1' || type=='c2'}">回执日期&nbsp;&nbsp;&nbsp;</c:if>
											<c:if test="${type=='d1'}">退保撤单日期&nbsp;&nbsp;&nbsp;</c:if>
											<c:if test="${type=='d2'}">受理日期&nbsp;&nbsp;&nbsp;</c:if>
										</span>
									</th>
									<th style="min-width: 80px;">
										<span>业务类型&nbsp;&nbsp;&nbsp;</span>
									</th>
									<th style="min-width: 100px;">
										<span>供应商&nbsp;&nbsp;&nbsp;</span>
									</th>
									<th>
										<span>投保人姓名&nbsp;&nbsp;&nbsp;</span>
									</th>
									<th style="min-width: 80px;">
										<span>营销员&nbsp;&nbsp;&nbsp;</span>
									</th>
									<th style="min-width: 80px;">
										<span>保费合计&nbsp;&nbsp;&nbsp;</span>
									</th>
									<th>
										<span>代理费用&nbsp;&nbsp;&nbsp;</span>
									</th>
									<th style="min-width: 80px;">
										<span>FYB&nbsp;&nbsp;&nbsp;</span>
									</th>
									<th style="min-width: 80px;">
										<span>价保合计&nbsp;&nbsp;&nbsp;</span>
									</th>
								</tr>
								<c:forEach items="${pagination.resultList}" var="list">
									<tr>
										<td>
											<a href="#"
												onclick="opendialog('${list.CONTRACTID }','${list.APPLICATIONNO }')">${list.APPLICATIONNO}</a>
										</td>
										<td>
											${list.CONTRACTNO}
										</td>
										<td>
											${list.CONTRACTSTATUS}
										</td>
										<td>
											${list.BRANCHNAME}
										</td>
										<td>
											${list.ACCEPTUSER}
										</td>
										<td>
											${list.SHOWDATE}
										</td>
										<td>
											${list.ASCRIPTIONMODE=='A'?'代渠':list.ASCRIPTIONMODE=='B'?'银渠':list.ASCRIPTIONMODE=='Z'?'综拓':list.ASCRIPTIONMODE=='G'?'多元':''}
										</td>
										<td>
											${list.PROVIDERNAME}
										</td>
										 <td>
											 ${list.CUSTOMERNAME}
										</td>
										<td>
											${agentname}
										</td>
										<td>
											${list.INITIALPREMIUM}
										</td>
										<td>
											${list.AGENCYFEE}
										</td>
										<td>
											${list.FYB}
										</td>
										<td>
											${list.VALUEPREM}
										</td>
									</tr>
								</c:forEach>
					</table>
				</div>
			</div>
		</div>
	
		<div class="webpart-foot">
            <div class="webpart-foot-item">
            </div>
        </div>
     </div>
	<sfa:mainFooter></sfa:mainFooter>
</body>
</html>


